﻿using System;
using Foundation;
using Poet.ViewModels;

namespace Poet.Views
{
    /// <summary>
    /// Interaction logic for RegexBuilderView.xaml
    /// </summary>
    public partial class RegexBuilderView
    {
        public RegexBuilderView()
        {
            InitializeComponent();
            DataContext = Store.OfType<RegexBuilderViewModel>();
        }

        private RegexBuilderViewModel ViewModel
        {
            get { return (RegexBuilderViewModel) DataContext; }
        }
    }
}
